package com.fuli.app.service;

import com.fuli.app.common.ActionResult;
import com.fuli.app.common.Pagination;
import com.fuli.app.dto.CurriculumDTO;
import com.fuli.app.dto.query.CurriculumQueryDTO;
import org.springframework.web.multipart.MultipartFile;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface CurriculumService {
    ActionResult<CurriculumDTO> get(String id);

    ActionResult<String> up(String id);

    ActionResult<String> down(String id);

    ActionResult<String> refresh(String categoryId);

    ActionResult<Pagination<CurriculumDTO>> listByQueryDTO(CurriculumQueryDTO queryDTO);

    ActionResult<String> delete(String id) ;

    ActionResult<String> batchDelete(List<String> ids);

    ActionResult<String> add(String file, String name, String notice, String categoryId, String intro);

    ActionResult<String> update(CurriculumDTO dto);
}
